package com.iot.device.mapper;

import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import com.iot.device.domain.PressureSensorAlarmDevice;

/**
 * 压力报警灯Mapper接口
 *
 * @author iot
 * @date 2023-08-07
 */
@Mapper
public interface PressureSensorAlarmDeviceMapper
{
    /**
     * 查询压力报警灯
     *
     * @param id 压力报警灯主键
     * @return 压力报警灯
     */
    public PressureSensorAlarmDevice selectPressureSensorAlarmDeviceById(Long id);

    /**
     * 查询压力报警灯列表
     *
     * @param pressureSensorAlarmDevice 压力报警灯
     * @return 压力报警灯集合
     */
    public List<PressureSensorAlarmDevice> selectPressureSensorAlarmDeviceList(PressureSensorAlarmDevice pressureSensorAlarmDevice);

    /**
     * 新增压力报警灯
     *
     * @param pressureSensorAlarmDevice 压力报警灯
     * @return 结果
     */
    public int insertPressureSensorAlarmDevice(PressureSensorAlarmDevice pressureSensorAlarmDevice);

    /**
     * 修改压力报警灯
     *
     * @param pressureSensorAlarmDevice 压力报警灯
     * @return 结果
     */
    public int updatePressureSensorAlarmDevice(PressureSensorAlarmDevice pressureSensorAlarmDevice);

    /**
     * 删除压力报警灯
     *
     * @param id 压力报警灯主键
     * @return 结果
     */
    public int deletePressureSensorAlarmDeviceById(Long id);

    /**
     * 批量删除压力报警灯
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deletePressureSensorAlarmDeviceByIds(Long[] ids);
}
